package cn.com.byte1024.mapper;

import cn.com.byte1024.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User selectByUser(User user);

    User selectByLoginName(@Param(value="phone") String phone);

    int saveUser(User user);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);
    
    int updateByPrimaryKey(User record);

}